<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <input type="text" v-model="message.name">
        <div>{{message.name}}</div>
        <div>{{message.age}}</div>
        <div>我的年纪是{{message.age}}</div>
        <ul>
            <li>1</li>
            <li>1</li>
            <li>1</li>
        </ul>
    </div>
    <script src="Observer.js"></script>
    <script src="Complier.js"></script>
    <script src="Watcher.js"></script>
    <script src="Dep.js"></script>
    <script src="MVVM.js"></script>
    <script>
        let vm = new Vue({
            el: '#app',
            data: {
                message: {
                    name: 'zzy',
                    age: 10
                }
            },
            computed: {
                getNewName() {
                    return this.message.name + 'hello'
                    // 40:00
                }
            }
        })
    </script>
</body>

</html>